#include "initialize.hpp"

void initialize_bnb()
{
    std::basic_ifstream<json_char> fin("settings.json");

    json_string content{ std::istreambuf_iterator<json_char>(fin), std::istreambuf_iterator<json_char>() };

    JSONNode node = libjson::parse(content);

    simulator::timer::initialize(node["timer"]);
    simulator::resolver::initialize(node["resolver"]);
}
